from sqlalchemy import MetaData
from sqlalchemy.orm import declarative_base

from core.config import get_config

schema_name = get_config("app.datasource.schema_name")

# 指定基类的schema
metadata = MetaData(schema=schema_name)
Base = declarative_base(metadata= metadata)

